﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SimpleData.ObjectModel;
using SimpleData.ObjectModel.Internals;
using SimpleData.ObjectModel.Design;

namespace SimpleData
{
	public static class DataObjectValidatorFactoryExtensions
	{

		//public static IDocumentValidatorFactory DocumentValidatorFactory( this IMockInit builder, Schema schema )
		//{
		//    Runtime.Current.Mocks().RuleBuilderFactory().Create( r => r.GetBuilder() );
		//    return new DataObjectValidatorCompiler(
		//        Runtime.Current.Mocks().RuleBuilderFactory().Create( r => r.GetBuilder() ).Get(),
		//        Runtime.Current.Mocks().ObjectModelRepository().GetSchema( name => schema ).Get() );
		//}
	}
}
